package com.mxchip.livestarmobile.mobile.db.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.io.Serializable
import java.util.*

@Entity
data class CallLog(

        @PrimaryKey(autoGenerate = true)
        var uid:Long = 0,

        @ColumnInfo(name = "number")
        var number: String? = null,

        @ColumnInfo(name = "type")
        var type: String? = null,

        @ColumnInfo(name = "startTime")
        var startTime: Date? = null,

        @ColumnInfo(name = "endTime")
        var endTime: Date? = null,

        @ColumnInfo(name = "isCaller")
        var isCaller:Boolean = false,

        @ColumnInfo(name = "user_id")
        var userId: String
) : Serializable